import request from '@/request/request.js'

// 获取文章
export const articleRes = (data) => {
  return request({
    method: 'POST',
    url: '/recomment-article',
    data
  })
}
// 关注作者
export const adduser = (data) => {
  return request({
    method: 'POST',
    url: '/add-attention',
    data
  })
}
// 删除关注作者
export const delectuser = (data) => {
  return request({
    method: 'POST',
    url: '/delect-attention-s',
    data
  })
}
